<template>
  <div class="page-container">
    <div class="container-box">
      <div class="circle"></div>
    </div>
  </div>
</template>

<script>

export default {
  name: 'Ripple', // 小圆点涟漪效果
  data() {
    return {
    };
  },
  methods: {
  }
};
</script>

<style scoped lang="scss">
@import '~@/styles/variables.scss';
.container-box {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 蓝色小圆点 */
.circle {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: $light-blue;
}

.circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(31, 57, 127, .8);
  animation: Dot 3s ease-out 0s infinite;
}

@keyframes Dot {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
</style>
